package com.guigu.ssm.mapper;

import com.guigu.ssm.pojo.Login;
import com.guigu.ssm.pojo.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface LoginMapper {
    int deleteByPrimaryKey(String username);

    int insert(Login record);

    int insertSelective(Login record);

    Login selectByPrimaryKey(String username);

    int updateByPrimaryKeySelective(Login record);

    int updateByPrimaryKey(Login record);

    @Select("select * from login where username=#{username} and pwd=#{pwd}")
    Login denglu(Login login);


}